package com.reebake.ideal.infra.vo;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

 /**
 * 行政区划
 * 
 */
@Schema(name = "行政区划", description = "")
@Data
public class RegionVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Schema(name = "主键", description = "")
    private String regionId;

    /** 区域代码 */
    @Schema(name = "区域代码", description = "")
    private String regionCode;

    /** 区域名称 */
    @Schema(name = "区域名称", description = "")
    private String regionName;

    /** 区域级别;从1开始，如1-国家 2-省 3-市... */
    @Schema(name = "区域级别", description = "从1开始，如1-国家 2-省 3-市...")
    private Integer regionLevel;

    /** 父节点id;不填表示根节点，自动设置为0 */
    @Schema(name = "父节点id", description = "不填表示根节点，自动设置为0")
    private String parentId;

    /** 父节点名称 */
    @Schema(name = "父节点名称", description = "")
    private String parentName;

    /** 状态 */
    @Schema(name = "状态", description = "")
    private String status;

    /** 叶子节点 */
    @Schema(name = "叶子节点", description = "")
    private Boolean isLeaf;

    /** 排序 */
    @Schema(name = "排序", description = "")
    private Integer orderNo;

    /** 备注 */
    @Schema(name = "备注", description = "")
    private String remark;

}